package com.hxzy.boot.service.impl;

import com.hxzy.boot.mapper.UserMapper;
import com.hxzy.boot.pojo.User;
import com.hxzy.boot.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author wzm
 * @create 2023-09-25 11:50
 * project_name:javaweb2308
 */
//业务逻辑实现
//@Component
//@Primary  //主要的 让当前注入对象的类的对象生效 注入到使用的地方


@Service
public class UserServiceImpl01 implements UserService {
    //创建mapper对象
    @Autowired
    private UserMapper userMapper;

    @Override
    public List<User> findAll() {
        return null;
    }
}
